/**
 * @(#)OperationBancaire.java
 *Stub
 *
 * @author S.ESTEVANE
 * @version 1.1.0 2011/12/12
 */
import java.io.Serializable;

public class OperationBancaire implements Serializable
{
	private static final long serialVersionUID = -7205409329918449766L;

	private char    m_typeOperation;
	private String  m_intituleOperation;
	private float   m_montantOperation;
	private long	m_numeroOperation;
	private String  m_dateOperation;

	public OperationBancaire(final Banque banque ,char type, String intitule,
							 float montant) {

		m_typeOperation = type;
		m_intituleOperation = intitule;
		m_montantOperation = montant;
		m_numeroOperation= banque.numeroRegistreOp();
	}

	public char getType(){
		return m_typeOperation;
	}

	public long getNumero(){
		return m_numeroOperation;
	}

	public float getMontant(){
		return m_montantOperation;
	}
	public String getDate(){
		return m_dateOperation;
	}

}
